.TH std::valarray::swap 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::valarray::swap \- std::valarray::swap

.SH Synopsis
   void swap( valarray& other );           \fI(until C++11)\fP
   void swap( valarray& other ) noexcept;  \fI(since C++11)\fP

   Swaps the contents with those of other.

.SH Parameters

   other - another valarray to swap the contents with

.SH Return value

   \fI(none)\fP
